/**
 * Copyright (c) 2012-2013 YunZhiSheng(Shanghai) Co.Ltd. All right reserved.
 * @FileName : SessionPreference.java
 * @ProjectName : vui_voice_center
 * @PakageName : cn.yunzhisheng.vui.voicecenter.preference
 * @Author : Conquer
 * @CreateDate : 2013-12-11
 */
package cn.yunzhisheng.vui.assistant.preference;

/**
 * @Module : 隶属模块名
 * @Comments : 描述
 * @Author : Conquer
 * @CreateDate : 2013-12-11
 * @ModifiedBy : Conquer
 * @ModifiedDate: 2013-12-11
 * @Modified: 2013-12-11: 实现基本功能
 */
public class SessionPreferenceOfIntent {
    public static final String TAG = "SessionPreferenceOfIntent";

    public static final String ACT_COMPILE_GRAMMER = "cn.yunzhisheng.intent.action.COMPILE_GRAMMER";
    public static final String ACT_COMPILE_GRAMMER_TO_TV = "cn.yunzhisheng.intent.action.COMPILE_GRAMMER_TO_TV";
    // ERROR
    public static final String MSG_INVOKE_ERROR = "cn.yunzhisheng.intent.ERROR";

    public static final String ACT_PROTOCAL_ACTION = "cn.yunzhisheng.intent.action.protocal.";

    // SHOW
    public static final String VALUE_SESSION_BENGIN = "SESSION_BEGIN";
    public static final String VALUE_SESSION_SHOW = "SESSION_SHOW";
    public static final String VALUE_SESSION_END = "SESSION_END";

    public static final String VALUE_TYPE_WAITING = ACT_PROTOCAL_ACTION + "WAITING";
    public static final String VALUE_TYPE_WEATHER_SHOW = ACT_PROTOCAL_ACTION + "WEATHER_SHOW";
    public static final String VALUE_TYPE_WEB_SHOW = ACT_PROTOCAL_ACTION + "WEB_SHOW";
    public static final String VALUE_TYPE_TRANSLATION_SHOW = ACT_PROTOCAL_ACTION + "TRANSLATION_SHOW";
    public static final String VALUE_TYPE_STOCK_SHOW = ACT_PROTOCAL_ACTION + "STOCK_SHOW";
    public static final String VALUE_TYPE_MUSIC_SHOW = ACT_PROTOCAL_ACTION + "MUSIC_SHOW";
    public static final String VALUE_TYPE_PROG_RECOMMEND = ACT_PROTOCAL_ACTION + "PROG_RECOMMEND";
    public static final String VALUE_TYPE_PROG_SEARCH_RESULT = ACT_PROTOCAL_ACTION + "PROG_SEARCH_RESULT";
    public static final String VALUE_TYPE_CHANNEL_PROG_LIST = ACT_PROTOCAL_ACTION + "CHANNEL_PROG_LIST";
    public static final String VALUE_TYPE_ROUTE_SHOW = ACT_PROTOCAL_ACTION + "ROUTE_SHOW";
    public static final String VALUE_TYPE_POSITION_SHOW = ACT_PROTOCAL_ACTION + "POSITION_SHOW";
    public static final String VALUE_TYPE_TALK_SHOW = ACT_PROTOCAL_ACTION + "TALK_SHOW";
    public static final String VALUE_TYPE_ERROR_SHOW = ACT_PROTOCAL_ACTION + "ERROR_SHOW";
    public static final String VALUE_TYPE_APP_LAUNCH = ACT_PROTOCAL_ACTION + "APP_LAUNCH";
    public static final String VALUE_TYPE_APP_UNINSTALL = ACT_PROTOCAL_ACTION + "APP_UNINSTALL";
    public static final String VALUE_TYPE_APP_EXIT = ACT_PROTOCAL_ACTION + "APP_EXIT";
    public static final String VALUE_TYPE_SETTING = ACT_PROTOCAL_ACTION + "SETTING_SHOW";
    public static final String VALUE_TYPE_REMINDER_CONFIRM = ACT_PROTOCAL_ACTION + "REMINDER_SHOW";
    public static final String VALUE_TYPE_REMINDER_OK = ACT_PROTOCAL_ACTION + "REMINDER_OK";
    public static final String VALUE_TYPE_POI_SHOW = ACT_PROTOCAL_ACTION + "POI_SHOW";
    public static final String VALUE_TYPE_MULTIPLE_SHOW = ACT_PROTOCAL_ACTION + "MULTIPLE_SHOW";
    public static final String VALUE_TYPE_UI_HANDLE_SHOW = ACT_PROTOCAL_ACTION + "UI_HANDLE_SHOW";
    // note
    public static final String VALUE_TYPE_NOTE_SHOW = ACT_PROTOCAL_ACTION + "NOTE_SHOW";
    // alarm
    public static final String VALUE_TYPE_ALARM_SHOW = ACT_PROTOCAL_ACTION + "ALARM_SHOW";
    // multiple app
    public static final String VALUE_TYPE_APP_MUTIPLEP_SHOW = ACT_PROTOCAL_ACTION + "MUTIPLE_APP";
    // weibo
    public static final String VALUE_TYPE_INPUT_CONTENT_WEIBO = ACT_PROTOCAL_ACTION + "INPUT_FREETEXT_WEIBO";
    public static final String VALUE_TYPE_WEIBO_OK = ACT_PROTOCAL_ACTION + "CONFIRM_WEIBO";
    public static final String VALUE_TYPE_CHANNEL_SWITCH_SHOW = ACT_PROTOCAL_ACTION + "CHANNEL_SWITCH_SHOW";
    public static final String VALUE_TYPE_SHOP_SHOW = ACT_PROTOCAL_ACTION + "SHOP_SHOW";

    // VIRTUAL_KEY
    public static final String MSG_VIRTUAL_KEY_SERVER_ACTIVE = "MSG_VIRTUAL_KEY_SERVER_ACTIVE";
    public static final String MSG_VIRTUAL_KEY = "cn.yunzhisheng.intent.virtualKey";
    public static final String KEY_CODE = "KEY_CODE";

    // recognize operate
    public final static String ACT_RECOGNIZE_OPERATE_START_TALK = "cn.yunzhizheng.intent.talk.START_TALK";
    public final static String ACT_RECOGNIZE_OPERATE_STOP_TALK = "cn.yunzhisheng.intent.talk.STOP_TALK";
    public final static String ACT_RECOGNIZE_OPERATE_CANCEL_TALK = "cn.yunzhisheng.intent.talk.CANCEL_TALK";
    public final static String ACT_RECOGNIZE_OPERATE_PUT_CUSTOM_TEXT = "cn.yunzhisheng.intent.talk.PUT_CUSTOM_TEXT";
    public final static String ACT_RECOGNIZE_OPERATE_SET_PROTOCAL = "cn.yunzhisheng.intent.talk.SET_PROTOCAL";
    public final static String ACT_RECOGNIZE_OPERATE_PLAY_TTS = "cn.yunzhisheng.intent.talk.PLAY_TTS";
    public final static String ACT_RECOGNIZE_OPERATE_STOP_TTS = "cn.yunzhisheng.intent.talk.STOP_TTS";

    // recognize operate to TV
    public final static String ACT_RECOGNIZE_OPERATE_START_TALK_TO_TV = "cn.yunzhizheng.intent.talk.START_TALK_TO_TV";
    public final static String ACT_RECOGNIZE_OPERATE_STOP_TALK_TO_TV = "cn.yunzhisheng.intent.talk.STOP_TALK_TO_TV";
    public final static String ACT_RECOGNIZE_OPERATE_CANCEL_TALK_TO_TV = "cn.yunzhisheng.intent.talk.CANCEL_TALK_TO_TV";
    public final static String ACT_RECOGNIZE_OPERATE_PUT_CUSTOM_TEXT_TO_TV = "cn.yunzhisheng.intent.talk.PUT_CUSTOM_TEXT_TO_TV";
    public final static String ACT_RECOGNIZE_OPERATE_SET_PROTOCAL_TO_TV = "cn.yunzhisheng.intent.talk.SET_PROTOCAL_TO_TV";
    public final static String ACT_RECOGNIZE_OPERATE_PLAY_TTS_TO_TV = "cn.yunzhisheng.intent.talk.PLAY_TTS_TO_TV";
    public final static String ACT_RECOGNIZE_OPERATE_STOP_TTS_TO_TV = "cn.yunzhisheng.intent.talk.STOP_TTS_TO_TV";

    // recognize operate from TV
    public final static String ACT_RECOGNIZE_OPERATE_START_TALK_FROM_TV = "cn.yunzhizheng.intent.talk.START_TALK_FROM_TV";
    public final static String ACT_RECOGNIZE_OPERATE_STOP_TALK_FROM_TV = "cn.yunzhisheng.intent.talk.STOP_TALK_FROM_TV";
    public final static String ACT_RECOGNIZE_OPERATE_CANCEL_TALK_FROM_TV = "cn.yunzhisheng.intent.talk.CANCEL_TALK_FROM_TV";
    public final static String ACT_RECOGNIZE_OPERATE_PUT_CUSTOM_TEXT_FROM_TV = "cn.yunzhisheng.intent.talk.PUT_CUSTOM_TEXT_FROM_TV";
    public final static String ACT_RECOGNIZE_OPERATE_SET_PROTOCAL_FROM_TV = "cn.yunzhisheng.intent.talk.SET_PROTOCAL_FROM_TV";
    public final static String ACT_RECOGNIZE_OPERATE_PLAY_TTS_FROM_TV = "cn.yunzhisheng.intent.talk.PLAY_TTS_FROM_TV";
    public final static String ACT_RECOGNIZE_OPERATE_STOP_TTS_FROM_TV = "cn.yunzhisheng.intent.talk.STOP_TTS_FROM_TV";

    // recognize Listener
    public final static String TALK_EVENT_ON_INITDONE = "cn.yunzhisheng.intent.talk.onInitDone";
    public final static String TALK_EVENT_ON_RECORDING_START = "cn.yunzhisheng.intent.talk.onRecordingStart";
    public final static String TALK_EVENT_ON_START = "cn.yunzhisheng.intent.talk.onTalkStart";
    public final static String TALK_EVENT_ON_STOP = "cn.yunzhisheng.intent.talk.onTalkStop";
    public final static String TALK_EVENT_ON_CANCEL = "cn.yunzhisheng.intent.talk.onTalkCancel";
    public final static String TALK_EVENT_ON_SESSION_PROTOCAL = "cn.yunzhisheng.intent.talk.onSessionProtocal";
    public final static String TALK_EVENT_ON_UPDATE_VOLUME = "cn.yunzhisheng.intent.talk.onUpdateVolume";
    public final static String TALK_DATA_VOLUME = "cn.yunzhisheng.intent.talk.data.volume";
    public final static String TALK_DATA_PROTOCAL = "cn.yunzhisheng.intent.talk.data.protocal";
    public final static String TALK_PROTACAL = "cn.yunzhisheng.intent.talk.protocal";
    // control Listener
    public static final String ACT_SCANNER_RESULT = "cn.yunzhisheng.intent.action.SCANNER_RESULT";
    public static final String ACT_CONNECT_RESULT = "cn.yunzhisheng.intent.action.CONNECT_RESULT";
    public static final String ACT_DISCONNECT = "cn.yunzhisheng.intent.action.DISCONNECT";
    public static final String ACT_START_MACHINE_CONTROL = "cn.yunzhisheng.intent.action.START_MACHINE_CONTROL";
    public static final String ACT_STOP_MACHINE_CONTROL = "cn.yunzhisheng.intent.action.STOP_MACHINE_CONTROL";
    public static final String ACT_CHECK_RESULT = "cn.yunzhisheng.intent.action.CHECK_RESULT";
    public static final String ACT_CUSTOM_DATA_FROM_SERVER = "cn.yunzhisheng.intent.action.RECEIVED_CUSTOMDATA_FROM_SEVER";
    public static final String ACT_CONTROL_DONE_CONTROL = "cn.yunzhisheng.intent.action.CONTROL_DONE_CONTROL";
    public static final String ACT_VOLUME_DONE_CONTROL = "cn.yunzhisheng.intent.action.VOLUME_DONW_CONTROL";
    public static final String ACT_CHANNEL_DONE_CONTROL = "cn.yunzhisheng.intent.action.CHANNEL_DONW_CONTROL";

    // control Operate
    public static final String OPERATE_ACT_CONTROL_SET_LISTENER = "cn.yunzhisheng.intent.action.CONTROL_LISTENER";
    public static final String OPERATE_ACT_CONTROL_START_SCANNER = "cn.yunzhisheng.intent.action.CONTROL_START_SCANNER";
    public static final String OPERATE_ACT_CONTROL_STOP_SCANNER = "cn.yunzhisheng.intent.action.CONTROL_STOP_SCANNER";
    public static final String OPERATE_ACT_CONTROL_CONNECT = "cn.yunzhisheng.intent.action.CONTROL_CONNECT";
    public static final String OPERATE_ACT_CONTROL_DISCONNECT = "cn.yunzhisheng.intent.action.CONTROL_DISCONNECT";
    public static final String OPERATE_ACT_CONTROL_START_MACHINE = "cn.yunzhisheng.intent.action.CONTROL_START_MACHINE";
    public static final String OPERATE_ACT_CONTROL_STOP_MACHINE = "cn.yunzhisheng.intent.action.CONTROL_STOP_MACHINE";
    public static final String OPERATE_ACT_CONTROL_CONTROL = "cn.yunzhisheng.intent.action.CONTROL_CONTROL";
    public static final String OPERATE_ACT_CONTROL_VOLUME = "cn.yunzhisheng.intent.action.CONTROL_VOLUME";
    public static final String OPERATE_ACT_CONTROL_CHANNEL = "cn.yunzhisheng.intent.action.CONTROL_CHANNEL";
    public static final String OPERATE_ACT_CONTROL_SEND_DATA_TO_SERVER = "cn.yunzhisheng.intent.action.CONTROL_SEND_DATA_TO_SERVER";
    public static final String OPERATE_ACT_CONTROL_START_CHECK_IP = "cn.yunzhisheng.intent.action.CONTROL_START_CHECK_IP";
    public static final String OPERATE_ACT_CONTROL_STOP_CHECK_IP = "cn.yunzhisheng.intent.action.CONTROL_STOP_CHECK_IP";

    // control Operate to TV
    public static final String OPERATE_ACT_CONTROL_SET_LISTENER_TO_TV = "cn.yunzhisheng.intent.action.CONTROL_LISTENER_TO_TV";
    public static final String OPERATE_ACT_CONTROL_START_SCANNER_TO_TV = "cn.yunzhisheng.intent.action.CONTROL_START_SCANNER_TO_TV";
    public static final String OPERATE_ACT_CONTROL_STOP_SCANNER_TO_TV = "cn.yunzhisheng.intent.action.CONTROL_STOP_SCANNER_TO_TV";
    public static final String OPERATE_ACT_CONTROL_CONNECT_TO_TV = "cn.yunzhisheng.intent.action.CONTROL_CONNECT_TO_TV";
    public static final String OPERATE_ACT_CONTROL_DISCONNECT_TO_TV = "cn.yunzhisheng.intent.action.CONTROL_DISCONNECT_TO_TV";
    public static final String OPERATE_ACT_CONTROL_START_MACHINE_TO_TV = "cn.yunzhisheng.intent.action.CONTROL_START_MACHINE_TO_TV";
    public static final String OPERATE_ACT_CONTROL_STOP_MACHINE_TO_TV = "cn.yunzhisheng.intent.action.CONTROL_STOP_MACHINE_TO_TV";
    public static final String OPERATE_ACT_CONTROL_CONTROL_TO_TV = "cn.yunzhisheng.intent.action.CONTROL_CONTROL_TO_TV";
    public static final String OPERATE_ACT_CONTROL_VOLUME_TO_TV = "cn.yunzhisheng.intent.action.CONTROL_VOLUME_TO_TV";
    public static final String OPERATE_ACT_CONTROL_CHANNEL_TO_TV = "cn.yunzhisheng.intent.action.CONTROL_CHANNEL_TO_TV";
    public static final String OPERATE_ACT_CONTROL_SEND_DATA_TO_SERVER_TO_TV = "cn.yunzhisheng.intent.action.CONTROL_SEND_DATA_TO_SERVER_TO_TV";
    public static final String OPERATE_ACT_CONTROL_START_CHECK_IP_TO_TV = "cn.yunzhisheng.intent.action.CONTROL_START_CHECK_IP_TO_TV";
    public static final String OPERATE_ACT_CONTROL_STOP_CHECK_IP_TO_TV = "cn.yunzhisheng.intent.action.CONTROL_STOP_CHECK_IP_TO_TV";
    // server Listener
    public static final String ACT_DISCONNECT_CLIENT = "cn.yunzhisheng.intent.action.DISCONNECT_CLIENT";
    public static final String ACT_START_MACHINE_SERVER = "cn.yunzhisheng.intent.action.START_MACHINE_SERVER";
    public static final String ACT_STOP_MACHINE_SERVER = "cn.yunzhisheng.intent.action.STOP_MACHINE_SERVER";
    public static final String ACT_CUSTOM_DATA_FROM_CONTROL = "cn.yunzhisheng.intent.action.RECEIVED_CUSTOMDATA_FROM_CONTROL";
    public static final String ACT_VOLUME_DONE_SERVER = "cn.yunzhisheng.intent.action.VOLUME_DONW_SERVER";
    public static final String ACT_CONTROL_DONE_SERVER = "cn.yunzhisheng.intent.action.CONTROL_DONE_SERVER";
    public static final String ACT_CHANNEL_DONE_SERVER = "cn.yunzhisheng.intent.action.CHANNEL_DONW_SERVER";
    public static final String ACT_CONNECT_CLIENT = "cn.yunzhisheng.intent.action.CONNECT_CLIENT";

    // Server Operate
    public static final String OPERATE_ACT_SERVER_LINSTENER = "cn.yunzhisheng.intent.action.SERVER_LISTENER";
    public static final String OPERATE_ACT_SERVER_HAS_CONNECT = "cn.yunzhisheng.intent.action.SERVER_HAS_CONNECTED";
    public static final String OPERATE_ACT_SERVER_START = "cn.yunzhisheng.intent.action.SERVER_START";
    public static final String OPERATE_ACT_SERVER_STOP = "cn.yunzhisheng.intent.action.SERVER_STOP";
    public static final String OPERATE_ACT_SERVER_SEND_DATA_TO_CONTROL = "cn.yunzhisheng.intent.action.SERVER_SEND_DATA_TO_CONTROL";

    // server Operate to TV
    public static final String OPERATE_ACT_SERVER_LINSTENER_TO_TV = "cn.yunzhisheng.intent.action.SERVER_LISTENER_TO_TV";
    public static final String OPERATE_ACT_SERVER_HAS_CONNECT_TO_TV = "cn.yunzhisheng.intent.action.SERVER_HAS_CONNECTED_TO_TV";
    public static final String OPERATE_ACT_SERVER_START_TO_TV = "cn.yunzhisheng.intent.action.SERVER_START_TO_TV";
    public static final String OPERATE_ACT_SERVER_STOP_TO_TV = "cn.yunzhisheng.intent.action.SERVER_STOP_TO_TV";
    public static final String OPERATE_ACT_SERVER_SEND_DATA_TO_CONTROL_TO_TV = "cn.yunzhisheng.intent.action.SERVER_SEND_DATA_TO_CONTROL_TO_TV";
    // TTS
    public final static String EVENT_TTS_PLAY_BEGIN = "EVENT_TTS_PLAY_BEGIN";
    public final static String EVENT_TTS_BUFFER = "EVENT_TTS_BUFFER";
    public final static String EVENT_TTS_PLAY_END = "EVENT_TTS_PLAY_END";
    public final static String EVENT_TTS_CANCEL = "EVENT_TTS_CANCEL";

    // KEY
    public static final String KEY_DOMAIN = "domain";
    public static final String KEY_TYPE = "type";
    public static final String KEY_ORIGIN_TYPE = "originType";
    public static final String KEY_DATA = "data";

    public static final String KEY_VOLUME = "KEY_VOLUME";
    public static final String KEY_HOST = "KEY_HOST";
    public static final String KEY_HOST_NAME = "KEY_HOST_NAME";
    public static final String KEY_CUSTOM_DATA = "KEY_CUSTOM_DATA";
    public static final String KEY_CONTROL_TYPE = "KEY_CONTROL_TYPE";
    public static final String KEY_ACTION = "KEY_ACTION";
    public static final String KEY_IP = "KEY_IP";
    public static final String KEY_CHECK_IPS = "KEY_CHECK_IPS";
    public static final String KEY_EXIST = "KEY_EXIST";
    public static final String KEY_PARAM = "KEY_PARAM";

    public static final String KEY_TEXT = "KEY_TEXT";
    public static final String KEY_PROTOCAL = "KEY_PROTOCAL";
    public static final String KEY_TTS = "KEY_TTS";
    public static final String KEY_COMMANDS = "commands";
    public static final String KEY_SUPPROT_SYSTEM_COMMAND = "support_system_command";
}
